package com.max.base;

import java.util.List;

public interface BaseService<T> {

    int insert(T entity);

    int updateById(T entity);

    int deleteById(Long id);

    T queryById(Long id);

    List<T> selectList(T entity);

}
